package org.zoomdev.zoom.dao.modules;

import org.zoomdev.zoom.aop.AopFactory;
import org.zoomdev.zoom.aop.annotations.NoEnhance;
import org.zoomdev.zoom.dao.transaction.TransMethodInterceptorMaker;
import org.zoomdev.zoom.ioc.annotations.Module;
import org.zoomdev.zoom.ioc.annotations.ModuleInit;

@NoEnhance
@Module
public final class CoreDaoModule {

    public static final String NAME = "DAO";

    @ModuleInit
    public void config(AopFactory factory) {
        factory.addFactory(new TransMethodInterceptorMaker(), 10000);
    }


}
